/***************************************************************
*  Copyright (c) 2007 by GroupMe! Team (www.groupme.net)
*  All rights reserved.
*
*  This file is part of the GroupMe! Project. Source code of 
*  this project is closed and redistribution of this code is
*  prohibited. 
*  
*  Contact: http://www.groupme.net
*
*  This copyright notice MUST APPEAR in all copies of the file!
***************************************************************/
package net.groupme.exceptions;

/**
 * created on 18 Dec 2007
 * 
 * The class defines a InserFailedException and can be used whenever inserting something into the data store went wrong. 
 * 
 * @author Mischa Frank <a href="mailto:code@planetfrank.net">code@planetfrank.net</a> 
 * @author Fabian Abel, <a href="mailto:abel@l3s.de">abel@l3s.de</a>
 * @author last edited by: $Author: fabian $
 * 
 * @version $Revision: 1.2 $ $Date: 2007-12-19 22:04:32 $
 */
public class InsertFailedException extends Exception {
	/** generated UID */
	private static final long serialVersionUID = -6410893902310453250L;

	/**
	 * Creates a new InsertFailedException instance.
	 * @param message the error message
	 * @param exception an encapsulated exception
	 */
	public InsertFailedException(String message, Throwable exception) {
		super(message, exception);
	}

	/**
	 * Creates a new InsertFailedException instance.
	 * @param exception an encapsulated exception
	 */
	public InsertFailedException(Throwable exception) {
		super(exception);
	}

	/**
	 * Creates a new InsertFailedException.
	 */
	public InsertFailedException() {
		this("Insert failed.");
	}

	/**
	 * Creates a new InsertFailedException.
	 * @param message the error message
	 */
	public InsertFailedException(String message) {
		super(message);
	}
	

}
